package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_juan_tj;

import cn.com.api.mapper.ApiT_juan_tjMapper;

import cn.com.api.service.ApiT_juan_tjService;

/**
 * 
 **/
@Service
public class T_juan_tjServiceImplBase {
	@Autowired
	private ApiT_juan_tjMapper apiT_juan_tjMapper;
    
    // 根据id获取
	public ApiT_juan_tj findT_juan_tjById(Integer id){
		ApiT_juan_tj t_juan_tj = apiT_juan_tjMapper.findT_juan_tjById( id );
		return t_juan_tj;
	}
    
    //查看数据集
	public List<ApiT_juan_tj> findT_juan_tjs(){
        List<ApiT_juan_tj> t_juan_tjs = apiT_juan_tjMapper.findT_juan_tjs();
		return t_juan_tjs;
    }
    
	// 添加
	public int insertT_juan_tj(ApiT_juan_tj t_juan_tj){
		int ret_I= apiT_juan_tjMapper.insertT_juan_tj(t_juan_tj);
		return ret_I;
	}

	// 修改
	public int updateT_juan_tj(ApiT_juan_tj t_juan_tj){
		int ret_I= apiT_juan_tjMapper.updateT_juan_tj(t_juan_tj);
		return ret_I;
	}
	
    // 删除
	public int deleteT_juan_tj(Integer id){
		int ret_I= apiT_juan_tjMapper.deleteT_juan_tj( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


